package com.bootdo.wx.service;

import com.bootdo.wx.domain.CmsMaterialDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 官方素材
 * 
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-04-03 11:12:34
 */
public interface CmsMaterialService {
	
	CmsMaterialDO get(String id);
	
	List<CmsMaterialDO> list(Map<String, Object> map);

	PageInfo<CmsMaterialDO> queryAll(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(CmsMaterialDO cmsMaterial);
	
	int update(CmsMaterialDO cmsMaterial);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
